package com.qili.entity.sys;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author liuyang
 * @date 2020/12/15
 * @description 用户工作经历
 */
@Data
@ToString
@Table(name = "sys_user_work_experience")
public class SysUserWorkExperience implements Serializable {

    @Id
    @Column(name = "suwe_id")
    private String suweId;

    /**
     * 用户id
     */
    @Column(name = "su_id")
    private String suId;

    /**
     * 开始日期
     */
    @Column(name = "start_date")
    private String startDate;

    /**
     * 结束日期
     */
    @Column(name = "end_date")
    private String endDate;

    /**
     * 工作单位
     */
    @Column(name = "work_unit")
    private String workUnit;

    /**
     * 岗位
     */
    @Column(name = "station")
    private String station;

    /**
     * 职务
     */
    @Column(name = "duty")
    private String duty;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private String createDate;

    /**
     * 部门名称
     */
    @Column(name = "dept_name")
    private String deptName;

    /**
     * 部门名称
     */
    @Column(name = "dept_code")
    private String deptCode;

    /**
     * 工作地点
     */
    @Column(name = "work_place")
    private String workPlace;

    /**
     * 职称
     */
    @Column(name = "professor")
    private String professor;

    /**
     * 人员状态
     */
    @Column(name = "person_status")
    private String personStatus;

    /**
     * 办公电话
     */
    @Column(name = "office_telephone")
    private String officeTelephone;

    /**
     * 岗位职称
     */
    @Column(name = "station_professor")
    private String stationProfessor;

    /**
     * 是否是当前工作   1代表是当前工作状态，否则不是当前
     */
    @Column(name = "if_now")
    private String ifNow;

    @Column(name = "suw_ind")
    private String suwInd;

    @Transient
    private List<SysUserProject> userProjectList;

    @Transient
    private List<String> deledProjectIds;

    @Transient
    private List<String> deledWorkExIds;
}
